package com.dailyblue.java.project.oa.department;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
// 扫描其他项目的对象
@ComponentScan("com.dailyblue.java.project.oa")
@MapperScan("com.dailyblue.java.project.oa.commons.mapper")
public class DepartmentApplication {

    public static void main(String[] args) {
        SpringApplication.run(DepartmentApplication.class, args);
    }

}
